package com.bumblebee.server.model;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.ManyToOne;

@Entity
public class InventoryItem extends AbstractEntity {

	@ManyToOne
	private Product product;
	
	@Column(nullable = false)
	private long availableQty;

	public Product getProduct() {
		return product;
	}

	public void setProduct(Product product) {
		this.product = product;
	}

	public long getAvailableQty() {
		return availableQty;
	}

	public void setAvailableQty(long availableQty) {
		this.availableQty = availableQty;
	}
	
	
}
